From a9153b89bf7c0df1bcbd2d9d82103ee30a1c0bc3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Sun, 18 Sep 2005 20:44:26 +0000 Subject: [PATCH] do some additional initializing --- ChangeLog | 5 +++++ babl/babl.c | 3 +++ babl/babl.h | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 20f7585..b97e751 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-18 Øyvind Kolås + + * babl/babl.c: (babl_init), + * babl/babl.h: made babl_fish variadic. + 2005-09-18 Øyvind Kolås * babl/babl-memory.[ch]: (babl_free), (babl_realloc): made babl_free diff --git a/babl/babl.c b/babl/babl.c index ea838ae..438a054 100644 --- a/babl/babl.c +++ b/babl/babl.c @@ -41,6 +41,9 @@ babl_init (void) babl_sanity (); babl_fish_init (); babl_sanity (); + babl_extension_post_load (); /* measure timings and errors */ + babl_sanity (); + } } diff --git a/babl/babl.h b/babl/babl.h index 6b6085f..ebedf68 100644 --- a/babl/babl.h +++ b/babl/babl.h @@ -73,7 +73,8 @@ typedef int (*BablEachFunction) (Babl *entry, * either strings with the names of the formats or BablFormat objects. */ Babl * babl_fish (void *source_format, - void *destination_format); + void *destination_format, + ...); /** Process n pixels from source to destination using babl_fish, * returns number of pixels converted. -- 2.30.2